package com.axioma.dbmaint.datalayer.dao;

import java.util.List;

import com.axioma.dbmaint.datalayer.dto.DatabaseDTO;
import com.axioma.dbmaint.datalayer.dto.ServerDTO;

public interface DatabaseRepository {

   /* Get the list of databases given a particular server */
   List<DatabaseDTO> getDatabasesOnServer(ServerDTO serverDTO);
   
   /* Add a new, empty 7x database on the server */
   void addDatabase(ServerDTO serverDTO, DatabaseDTO databaseDTO);
   
   /* Reset an existing database on a given server */  
   void resetDatabase(ServerDTO serverDTO, DatabaseDTO databaseDTO);
   
   /* Copy an existing database from one server to another */
   void copyDatabase(ServerDTO serverDTO, DatabaseDTO sourceDatabaseDTO, DatabaseDTO targetDatabaseDTO);
}
